package scenetracer.core;


/**
 * Simple interface to allow for scene creation from arbitrary file formats.
 */
public interface SceneParser {
    /**
     * Parse the specified file to create a scene description into the provided
     * {@link Scene} object.
     * 
     * @param filename filename to parse
     * @param scene scene to parse the file into
     * @param penumbra 
     * @return <code>true</code> upon success, or <code>false</code> if
     *         errors have occurred.
     */
    public boolean parse(String filename, Scene scene);
}
